package com.jwds.digital.bios.business.core.infrastructure.vo.belt;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 作业级别/路径级别 统计后的数据结构
 *
 * @author 林柏云
 * @date 2024-10-24
 */
@Data
@ApiModel(value="BeltRouteTaskStatistics返回数据对象")
public class BeltRouteTaskStatisticsRespVO  {

  @ApiModelProperty(value = "主键Id")
  private Long id;

  @ApiModelProperty(value = "作业ID")
  private Long taskId;

  @ApiModelProperty(value = "任务类型")
  private String taskType;

  @ApiModelProperty(value = "路径ID")
  private Long routeId;

  @ApiModelProperty(value = "开始执行时间")
  
  private LocalDateTime startExecutionTime;

  @ApiModelProperty(value = "结束执行时间")
  
  private LocalDateTime endExecutionTime;

  @ApiModelProperty(value = "持续时间")
  private BigDecimal duration;

  @ApiModelProperty(value = "机械分数")
  private Integer machineScore;

  @ApiModelProperty(value = "电气分数")
  private Integer electricScore;

  @ApiModelProperty(value = "五防分数")
  private Integer preventScore;

  @ApiModelProperty(value = "尖峰耗电量")
  private BigDecimal spikePowerConsumption;

  @ApiModelProperty(value = "峰值耗电量")
  private BigDecimal peakPowerConsumption;

  @ApiModelProperty(value = "谷值耗电量")
  private BigDecimal valleyPowerConsumption;

  @ApiModelProperty(value = "平值耗电量")
  private BigDecimal flatPowerConsumption;

  @ApiModelProperty(value = "总耗电量")
  private BigDecimal totalPowerConsumption;

  @ApiModelProperty(value = "料流有料信号时间")
  
  private LocalDateTime firstMaterialFlowTime;

  @ApiModelProperty(value = "最后料流无料信号时间")
  
  private LocalDateTime lastMaterialFlowTime;

  @ApiModelProperty(value = "启动空载运行时长")
  private BigDecimal startupNoLoadDuration;

  @ApiModelProperty(value = "运行空载运行时长")
  private BigDecimal runningNoLoadDuration;

  @ApiModelProperty(value = "停止空载运行时长")
  private BigDecimal shutdownNoLoadDuration;

  @ApiModelProperty(value = "运行负载运行时长")
  private BigDecimal runningLoadDuration;

  @ApiModelProperty(value = "启动空载运行电耗")
  private BigDecimal startupNoLoadPower;

  @ApiModelProperty(value = "运行空载运行电耗")
  private BigDecimal runningNoLoadPower;

  @ApiModelProperty(value = "停止空载运行电耗")
  private BigDecimal shutdownNoLoadPower;

  @ApiModelProperty(value = "运行负载运行电耗")
  private BigDecimal runningLoadPower;

  @ApiModelProperty(value = "运输总重量")
  private BigDecimal totalTransportWeight;

  @ApiModelProperty(value = "作业效率")
  private BigDecimal workEfficiency;

  @ApiModelProperty(value = "电机运行效率")
  private BigDecimal motorRunningEfficiency;

  @ApiModelProperty(value = "平均负载率")
  private BigDecimal avgLoadRate;

  @ApiModelProperty(value = "平均空载负载率")
  private BigDecimal avgNoLoadRate;

  @ApiModelProperty(value = "空载阻力")
  private BigDecimal noLoadResistance;

  @ApiModelProperty(value = "创建时间")
  
  private LocalDateTime createTime;

  @ApiModelProperty(value = "更新时间")
  
  private LocalDateTime modifyTime;

  @ApiModelProperty(value = "创建人")
  private String createUser;

  @ApiModelProperty(value = "更新人")
  private String modifyUser;

  @ApiModelProperty(value = "逻辑删除:0-未删除,1-已删除")
  private Integer isDeleted;

  /***********扩展字段***************/

}
